Home
last modified time | relevance | path

Searched hist:"9 b0beaf3" (Results 1 – 1 of 1) sorted by relevance

/qemu/
H A Dqemu-io-cmds.c9b0beaf3 Thu Nov 05 23:53:02 GMT 2015 John Snow <jsnow@redhat.com> qemu-io: fix cvtnum lval types

cvtnum() returns int64_t: we should not be storing this
result inside of an int.

In a few cases, we need an extra sprinkling of error handling
where we expect to pass this number on towards a function that
expects something smaller than int64_t.

Reported-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>